package com.icoopoo.log.async.consumer.service;

import com.icoopoo.log.async.consumer.dao.LogDao;
import com.icoopoo.log.async.consumer.entity.LogEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class LogService {

    @Resource
    private LogDao logDao;

    /**
     * 保存日志内容
     *
     * @param s 日志内容
     */
    public void saveLogInfo(List<LogEntity> s) {

        logDao.saveAll(s);
    }
}
